package org.anderground.editor.gui.properties.transfer;

import org.anderground.core.model.Transfer;

public class TransferFromStationNameProperty extends
		AbstractStringTransferProperty {

	@Override
	public String getPropertyName() {
		return "From";
	}

	@Override
	public boolean isEditable() {
		return false;
	}

	@Override
	protected String getValue(Transfer tunnel) {
		return tunnel.getFromStation().getName();
	}

	@Override
	protected void setValue(Transfer tunnel, String cellEditorValue) {
	}

}
